<gm:page title="World Disasters" authenticate="false">
 <!--
 Kyle J.S. Stewart's first attempt at a Google Mashup.
 This Mashup will try to illustrate the locations of disasters around the glode.
 Assistance in code taken from : http://earthquakes.googlemashups.com/index.gml
 Date : September 16th, 2008
 -->
 
 <style>
  body {background-color: #0099FF}
  .header{
  background-color: #CFDBC5
  padding: 5px
  }
 
  .header .button{
  background-color: #7BBF6A
  }
 
  .gm-gadget-list tbody.gm-item{
  border-top:none;
  border-bottom:1px solid #BFEFFF
  }
 
  .item-selected{
  background: #BFEFFF
  }
 </style>
 
 <div style="padding:15px">
  <table width="100%">
   <tr>
    <td width="40%" valign="top" style="padding-top:20px;padding-right:20px">
     <gm:list id="dislist" data=http://pipes.yahoo.com/pipes/pipe.run?_id=uMWAom642xGfLKyuJZhxuA&_render=rss
            template="disListTemplate" pagesize="11">
     </gm:list>
    </td>
    <td align="right" valign="top" style="padding-top:20px;">
     <gm:map id="dismap" data="${dislist}" latref="geo:lat" lngref="geo:long"
            infotemplate="distemplate">
      <gm:handleEvent src="dislist"/>
     </gm:map>
    </td>
   </tr>
  </table>
 </div>








 








































































































































































































































































































 
 <gm:template id="disListTemplate">
  <table class="expand">
   <tr>
    <td colspan="4"><gm:header>Recent Disasters by Date</gm:header></td>
   </tr>
   <tr repeat="true" class="row">
    <td style="padding-bottom:5px;">
     <img src=http://www.google.com/intl/en_us/mapfiles/marker.png width="15" height="20"/>
    </td>
    <td style="padding-bottom:5px;">
     <gm:text ref="atom:title"/>
    </td>
    <td style="padding-bottom:5px;">
     <gm:date ref="atom:updated"/>
    </td>
    <td width="100px" align="right" style="padding-bottom:5px;">
     <gm:link ref="atom:link[@rel='alternate']/@href" label="more info..."/>
    </td>
   </tr>
  </table>
  <table width="100%">
   <tr>
    <td align="center" style="padding-top:10px"><gm:pager/></td>
   </tr>
  </table>
 </gm:template>
 
 <gm:template id="distemplate">
  <div repeat="true" align="left">
   <gm:text ref="atom:title"/><br/>
   <gm:date ref="atom:published"/>
  </div>
 </gm:template>
















 <script>
  var d = new Date();
  var updatedate = document.getElementById('update');
  updatedate.innerHTML = d.toUTCString();
 </script>








 
























































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































</gm:page>









































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































